<?php
class LogWorker
{
    public static function log($job)
    {
        // params
        $params = unserialize($job->workload());

        // log
        call_user_func_array(array(Yii::app()->scribe, 'log'), $params);
    }
}